<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title></title>
  <meta charset="utf-8" />
  <title>用户登录</title>
  <link rel="stylesheet" href="css/style.css" />
  <script src="js/bootstrap.min.js"></script>
  <link href="../css/bootstrap.css" rel="stylesheet" type="text/css" />
  <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script>
  <style>
    #from
    {
      background-color: #96b97d;
    }
    .mycenter
    {
      margin-top: 100px;
      margin-left: auto;
      margin-right: auto;
      height: 350px;
      width: 500px;
      padding: 5%;
      padding-left: 5%;
      padding-right: 5%;
    }
    .mycenter mysign
    {
      width: 440px;
    }
    .mycenter input, checkbox, button
    {
      margin-top: 2%;
      margin-left: 10%;
      margin-right: 10%;
    }
    .mycheckbox
    {
      margin-top: 10px;
      margin-left: 40px;
      margin-bottom: 10px;
      height: 10px;
    }
  </style>
  <script type="text/javascript">
    $(function () {
      $('#btn').click(function (e) {
        window.location.href = "main.aspx";
      });
    });
  </script>
</head>
<body>
<form id="from" action="/login" method="post">
  <div class="mycenter">
    <div class="mysign">
      <div class="col-lg-11 text-center text-info">
        <h2>学生信息管理系统</h2>
      </div>

      <div class="input-group">
        <span class="input-group-addon">用户名</span>
        <input type="text" class="form-control" placeholder="请输入账户名">
      </div>

      <div class="col-lg-10">
        <label >姓名</label>
        <input type="text" class="form-control" name="username" placeholder="请输入账户名" required
               autofocus value="admin" />
      </div>
      <div class="col-lg-10">
      </div>
      <div class="col-lg-10">
        <label >密码</label>
        <input type="password" class="form-control" name="password" placeholder="请输入密码" required
               autofocus value="123456" />
      </div>

      <div class="col-lg-10">
      </div>
      <div class="col-lg-10 mycheckbox checkbox">
        <input type="checkbox" class="col-lg-1">记住密码</input>
      </div>
      <div class="col-lg-10">
      </div>
      <div class="col-lg-10">
        <button type="submit" id="btn" class="btn btn-success col-lg-12">
          登录</button>
      </div>
      <div>${msg}</div>
    </div>
  </div>
</form>
</body>
</html>
